package com.interview.feign;

import org.springframework.stereotype.Component;

/**
 * Created by fangjicai on 2020/4/17.
 */
//@Primary //指定子类优先级
//@Service
@Component
public class ProviderApiFallback implements ProviderApi{
    @Override
    public String getName(String id) {
        return "fallback test";
    }
}
